package com.ifast.asset.domain;

import lombok.Data;

@Data
public class AssetAndGroup extends  AssetAndGroupDO {

    public int pageSize;
    public int pageNum;
    public int[] assetIds;

    public AssetAndGroupDO getAssetAndGroupDO(){

        AssetAndGroupDO assetAndGroupDO = new AssetAndGroupDO();
        assetAndGroupDO.setId(this.getId());
        assetAndGroupDO.setAssetId(this.getAssetId());
        assetAndGroupDO.setGroupId(this.getGroupId());

        return assetAndGroupDO;
    }
}
